
package com.example.demo.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("课程详情")
public class CourseDetailVO {

    @ApiModelProperty("课程id")
    private long id;

    @ApiModelProperty("封面图")
    private String imgUrl;

    @ApiModelProperty("课程标题")
    private String title;

    @ApiModelProperty("原价格（不开团）")
    private BigDecimal realCost;

    @ApiModelProperty("已开团人数")
    private long readySum;

    @ApiModelProperty("目标开团人数")
    private long totalSum;

    @ApiModelProperty("课程类型")
    private String tag;

    @ApiModelProperty("开课时间")
    private long beginTime;

    @ApiModelProperty("销量")
    private long saleNums;

    @ApiModelProperty("拼团时间")
    private long time;
}
